//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat 
             History:        2023/2/7
************************************************************/
    

#include <stdio.h>

int main()
{
    int x = 0;
    int y = 0;
    int count = 0;
    printf("输入两个整数:>");
    scanf("%d %d", &x, &y);

    for (int i = 0; i < 32; i++)
    {
        if (((x >> i) & 1) != ((y >> i) & 1))
        {
            count++;
        }
    }
    printf("count:%d\n", count);

    return 0;
}
